<ion-view title="订单详情">
  <ion-nav-buttons side="left">
    <a class="button button-icon icon ion-ios-arrow-left" ng-click="goBackPage()"></a>
  </ion-nav-buttons>
  <ion-content class="orderdetail">
    <div class="item  item-avatar">
      <img ng-src="{{orderDetail.headPic}}">
      <h2 ng-bind="orderDetail.userName"></h2>
      <!-- <p>服务城市：{{orderDetail.serverCity}}</p> -->
      <p>价格：<span ng-bind="orderDetail.price | to_pricedouble "></span>元</p>
    </div>
    <div class="odt_orderno">订单号:{{orderId}}</div>
    <div class="list">
          <div class="item"  ng-if="orderDetail.state == 102||orderDetail.state == 103||orderDetail.state == 104">
        向导电话<span class="item-note" ng-bind="orderDetail.guideContactPhone"></span>
      </div>
      <div class="item" ng-if="orderDetail.state == 102||orderDetail.state == 103||orderDetail.state == 104">
        向导微信<span class="item-note" ng-bind="orderDetail.guideWeChat"></span>
      </div>
    </div>
    <div class="list odt_con">
    	<div class="item">
    		开始时间<span class="item-note" ng-bind="orderDetail.travelStartDate | to_dateYMDHM"></span>
    	</div>
    	<div class="item">
    		结束时间<span class="item-note" ng-bind="orderDetail.travelEndDate | to_dateYMDHM"></span>
    	</div>
    	<div class="item">
    		天数<span class="item-note">{{calcdateDays(orderDetail.travelStartDate,orderDetail.travelEndDate)}}</span>
    	</div>
    	<div class="item">
    		人数<span class="item-note">{{calcdateDays(orderDetail.travelStartDate,orderDetail.travelEndDate)}}</span>
    	</div>
    	<div class="item"  ng-if="orderDetail.state == 102||orderDetail.state == 103||orderDetail.state == 104">
    		联系电话<span class="item-note" ng-bind="orderDetail.contactPhone"></span>
    	</div>
    	<div class="item">
    		备注
    		<div ng-bind="'    '+orderDetail.remarks"  style="    white-space: pre-wrap;"></div>
    	</div>
    </div>
  </ion-content>
</ion-view>
